package cn.fresh.xuanyuan.module.system.model.request;

import cn.fresh.xuanyuan.framework.common.validation.group.AddGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class WXSendRequest {

    @NotNull(message = "ID不能为空", groups = AddGroup.class)
    private Integer id;

    private String pageUrl;

    @NotNull(message = "消息内容不能为空", groups = AddGroup.class)
    private List<WXTemplateDataMap> data;

}
